{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
<div class="ag_postwrap">
	<div class="ag_rightend">
		<h2 class="ag_headerbar"><span class="ag_middle">##Upload avatar##</span></h2>
	</div>

	<div class="ag_outerwrap">
		<form id="upload_avatar" method="post" enctype="multipart/form-data" action="{$self_url}">
			<fieldset>
				<legend class="ag_color">##Upload avatar legend##</legend>
				<div class="ag_infldsetprofile">
					<label for="req_file" class="ag_label">
						<strong>##File##</strong>
						<input id="req_file" name="req_file" type="file" size="40" style="width:99%;" />
					</label>
					<br />
					<div class="ag_clearer"></div>
					<div class="ag_hint">
						##Avatar desc## {$agora_config.o_avatars_width} x {$agora_config.o_avatars_height} ##pixels## ##and## {$agora_config.o_avatars_size} ##bytes## ({$agora_config.o_avatars_size/1024} KB).
					</div>
				</div>
			</fieldset>
			<div class="ag_postbuttons">
				<span>
					<input class="ag_button ag_btn_submit" type="submit" name="upload" value="##Upload##" title="##Upload##" accesskey="s" />
					&nbsp;##or##&nbsp;
					<a href="javascript:void(0);" class="ag_btn_goback" title="##Go back##" onclick="javascript:history.go(-1)" tabindex="6">##Go back##</a>
				</span>
			</div>
			<input type="hidden" name="action" value="save_upload" />
			<input type="hidden" name="MAX_FILE_SIZE" value="{$agora_config.o_avatars_size}" />
		</form>
	</div>
</div>